/** ###################################################################
**     Filename  : Timestamp.C
**     Project   : Motologger_v2
**     Processor : MC9S12XA256CFU
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 12/7/2009, 1:13 AM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2007
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

/* MODULE Timestamp */

unsigned short Timestamp_ms_since_reset;

void Timestamp_Reset(void){
  Timestamp_ms_since_reset=0;
}

void Timestamp_Init(){
  Timestamp_Reset();
}

void Timestamp_Update(){
  Timestamp_ms_since_reset++;
}

unsigned short Timestamp_GetVal(){
  return Timestamp_ms_since_reset;
}


/* END Timestamp */
